//
//  HotPlaceCollectionCell.m
//  MiaoTu
//
//  Created by dllo on 16/9/3.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "HotPlaceCollectionCell.h"

@implementation HotPlaceCollectionCell
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        _cityLabel = [[UILabel alloc] init];
        [self.contentView addSubview:_cityLabel];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _cityLabel.frame = self.contentView.bounds;
    _cityLabel.textAlignment = NSTextAlignmentCenter;
}

@end
